// 导入axios实例
import httpRequest from '@/http/request'
import { reactive, ref } from 'vue'
export async function ApiGetTank(username: string | null) {
    let list: string[] = reactive([])
    //axios请求
    await httpRequest.get(`/web/aquarium/aquariumIdList/${username}`).then((res) => {
        list = res.data.data.userAquariumList
    })
    return { list }
}


